import request from "./http"
export function get() {
    return request({
        method: "get",
        url: "novice.json"
    })
}
//书城展示模块
export function storeShow() {
    return request({
        method: "get",
        url: "store/show.json"
    })
}
//男生榜排行榜
export function storeMerged() {
    return request({
        method: "get",
        url: "store/rankList.json?rankType=34&uuid=ca03da7b64ca443ab25ec3b662fa91e2&all=0"
    })
}
//排行榜分类
export function storeRanklist() {
    return request({
        method: "get",
        url: "store/merged/rankNavi.json"
    })
}
//女生排行榜
export function storeGril() {
    return request({
        method: "get",
        url: "store/rankList.json?rankType=35&uuid=017de2274aa5400e9dabe30f173e98d9&all=0"
    })
}
//图书榜、出版人气榜、
export function storeTushu() {
    return request({
        method: "get",
        url: "store/rankList.json?rankType=20&uuid=b5648dd3c4f24d9796f590cd81ca076e&all=0"
    })
}
//所有频道
export function storeNode() {
    return request({
        method: "get",
        url: "store/node.json"
    })
}
//频道下所有分类
export function storeInfo() {
    return request({
        method: "get",
        url: "store/info.json"
    })
}
//频道里的男生小说分类列表
export function storeNodeList(){
    return request({
        method:"get",
        url:"/store/info.json?type=male&bar=cat&uuid=244f55f3af7841c9a71dd912c1f6bc26"
    })
}
//频道里的女生小说分类列表
export function girlNodeList() {
    return request({
        method: "get",
        url: "/store/info.json?type=female&bar=cat&uuid=d6f496cf3b45479795fe087dbb5ea90a"
    })
}
//频道里图书书库分类
export function storeBook() {
    return request({
        method: "get",
        url: "/store/info.json?type=publish&bar=cat&uuid=8be5f5f01af141fdbc0936350a786f9e"
    })
}
//分类筛选条件
export function sort(params){
    return request({
        method:"get",
        url:"source/v2/cat.json",
        params
    })
}
//免费
export function storeFree() {
    return request({
        method: "get",
        url: "/store/show.json?type=free&uuid=ea81f0be96a74d4fa7c674b9252a9ef4"
    })
}
//书架
export function shelf(){
    return request({
        method:"get",
        url:"shelf/banner.json"
    })
}
//热门搜索
export function searchHotWords(){
    return request({
        method:"get",
        url:"search/getHotWords"
    })
}
//书籍详情
export function bookInfo(params){
    return request({
        method:"get",
        url:"book/getsub.json",
        params
    })
}
//获取章节列表
export function readerInfo(params){
    return request({
        method:"get",
        url:"reader/book/info.json",
        params
    })
}
//都市书籍
export function sourceCat(){
    return request({
        method:"get",
        url:"source/searchBook.json",
        
    })
}
//章节内容
export function bookContent(params){
    return request({
        method:"get",
        url:"reader/book/content.json",
        params
    })
}